lib=libcmz.a

$(lib):cmz.o
	ar -rc $@ $^
cmz.o:cmz.c
	gcc -c $^

.PHONY:clean 
clean:
	rm -rf *.o *.a lib
.PHONY:output
output:
	mkdir  -p lib/include
	mkdir  -p lib/cmzlib
	cp *.h lib/include
	cp *.a lib/cmzlib
